//-------------------------------------------------------------------
//	Copyright (c) 2010-2012  Zhirnov Andrey
//	This file is part of the "UXGEN" project.
//	See copyright notice in "Engine.h".
//-------------------------------------------------------------------

#ifndef _UX_WIN_ICON_H
#define _UX_WIN_ICON_H

#include <Includes.h>

#ifdef PLATFORM_WINDOWS

namespace Engine
{
namespace CoreSystems
{

	//
	// Win Icon
	//

	class _EXPORT_ CIcon : public CEngBaseObject
	{
	protected:
		HICON	_hIcon;

	public:
		CIcon();
		~CIcon();

		bool Load(uint16 uID);
		bool Load(const char *pFileName);

		bool Destroy();

		HICON Handle() const	{ return _hIcon; }
	};

//-------------------------------------------------------------------

}	// CoreSystems
}	// Engine

#endif	// PLATFORM_WINDOWS
#endif	// _UX_WIN_ICON_H